<?php echo $this->partial('supplier/_tab.phtml'); ?>
<div class="body">
	<table class="list">
		<tr>
			<th class="id">#</th>
			<th class="id"><?php echo $this->language->load('Name');?>Name</th>
			<th><?php echo $this->language->load('Company Name');?></th>
			<th><?php echo $this->language->load('Corporation');?></th>
			<th class="id"><?php echo $this->language->load('Actived');?>?</th>
			<th class="time"><?php echo $this->language->load('Creation Date');?>?</th>
			<th class="time"><?php echo $this->language->load('Last Modified');?>?</th>
			<th class="id">&nbsp;</th>
		</tr>
		<?php foreach($this->list AS $row) { ?>
		<tr>
			<td><?php echo $row->getId();?></td>
			<td><?php echo $row->getName();?></td>
			<td><a href="<?php echo $this->url('supplier/detail', array('id' => $row->getId()));?>"><?php echo $row->getTitle();?></a></td>
			<td><?php echo $row->getCorporation();?></td>
			<td class="center"><?php echo $row->getIsActive() ? '√' : '';?></td>
			<td><?php echo $this->date($row->getCreationtime());?></td>
			<td><?php echo $this->date($row->getModifiedtime());?></td>
			<td><a href="<?php echo $this->url('supplier/edit', array('id' => $row->getId()));?>"><?php echo $this->language->load('Edit');?></a></td>
		</tr>
		<?php } ?>
	</table>
</div>
